//
//  XJPayTypeModel.h
//  XinJiangMall
//
//  Created by RaoBo on 2018/6/13.
//  Copyright © 2018年 Tzyang. All rights reserved.
//  支付方式模型 默认之后三个(账户余额、支付宝、微信)

#import <Foundation/Foundation.h>

@interface XJPayTypeModel : NSObject
/**2.支付方式*/
@property (nonatomic, copy) NSString *type;
/**3.支付id*/
@property (nonatomic, copy) NSString *channel_id;

/**1.图标*/
@property (nonatomic, copy) NSString *iconStr;
/**4.默认 选中钱包支付*/
@property(nonatomic, assign) BOOL isSel;
/**5.文字描述*/
@property (nonatomic, copy) NSString *name;


@end

/*
{
    "data":{
        "amount":{
            "goods_amount":10,
            "order_amount":10,
            "coupon_amount":0
        },
        "channels":[
                    {
                        "type":"balance",
                        "channel_id":"balance"
                    },
                    {
                        "type":"alipay",
                        "channel_id":"alipay_app"
                    },
                    {
                        "type":"weixin",
                        "channel_id":"weixin_app"
                    },
                    {
                        "type":"weixin",
                        "channel_id":"weixin_gz"
                    }
                    ],
        "customer":{
            "balance":0
        }
    },
    "code":0
}
*/
